package cn.yzfy.common.model.vo;

import cn.yzfy.common.base.vo.BaseIdAndTimeAndOperationVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;

/**
 * @author 一朝风月
 * @date 2025/9/11 19:42
 * @Code 面向注解面向卿，终无解释再无你
 * @description 字典数据展示层
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DictDataVO extends BaseIdAndTimeAndOperationVO {

    @Serial
    private static final long serialVersionUID = -1;

    /**
     * 字典数据类型id
     */
    @Schema(description = "字典数据类型id")
    private Long dictTypeId;

    /**
     * 名称
     */
    @Schema(description = "名称")
    private String name;

    /**
     * 编码
     */
    @Schema(description = "编码")
    private String code;

    /**
     * 排序值
     */
    @Schema(description = "排序值")
    private Integer sort;

    /**
     * 启用状态
     */
    @Schema(description = "启用状态")
    private Boolean enable;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;
}